import 'package:fish_redux/fish_redux.dart';

import 'package:flutter/material.dart';

class sn_supportState implements Cloneable<sn_supportState> {

  //账号
  TextEditingController nameController = TextEditingController();

  //密码
  TextEditingController passController = TextEditingController();

  //推荐码
  TextEditingController recommendController = TextEditingController();

  //是否展示推荐码栏
  bool isNeedRecommend = false;

  //命中哪一栏
  int focusIndex = -1;

  @override
  sn_supportState clone() {
    return sn_supportState()
                  ..nameController = nameController
                  ..passController = passController
                  ..recommendController = recommendController
                  ..isNeedRecommend = isNeedRecommend
                  ..focusIndex = focusIndex;
  }
}

sn_supportState initState(Map<String, dynamic> args) {
  return sn_supportState();
}
